package com.lct.d11_extends_feature;

public class Test {
    public static void main(String[] args) {
        M m =new M();
    }
}

//1.java是单继承

//java支持多层继承

//Object类是java中所有类的祖宗类
class  M{}
class N extends M{}
class P extends N{}